package jgl.vajra.kingkong.part.home.contract;

import java.util.Map;

import io.reactivex.Observable;
import jgl.vajra.kingkong.bean.HomeVehicleTypeBean;
import jgl.vajra.kingkong.databinding.FragmentHomeVehicleTypeBinding;
import jgl.vajra.kingkong.widget.mvvm.model.BaseModel;
import jgl.vajra.kingkong.widget.mvvm.view.BaseMVVMView;
import jgl.vajra.kingkong.widget.mvvm.viewmodel.BaseViewModel;

public class HomeVehicleTypeContract {
    public abstract static class Model extends BaseModel {
        public abstract Observable<HomeVehicleTypeBean> getCarInfoData(Map<String, Object> map);
    }
    public interface View extends BaseMVVMView {

        void onPriceCalculator();

        void onVehicleDetails();

        void returnHomeCarInfoBean(HomeVehicleTypeBean data);
    }

    public abstract static class ViewModel extends BaseViewModel<View, FragmentHomeVehicleTypeBinding, Model> {

        public abstract void getCarInfoData(Map<String, Object> map);
    }
}
